﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class WaybillInfoToWMSDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class WaybillInfoToWMSRequestDto
    {
        /// <summary>
        /// 描述 : 开始时间 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "createTimeStart")]
        public long createTimeStart { get; set; }

        /// <summary>
        /// 描述 : 结束时间 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "createTimeEnd")]
        public long createTimeEnd { get; set; }
    }


    /// <summary>
    /// 外部接口返回格式
    /// </summary>
    public class Ri_WaybillInfoToWMSResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "status")]
        public int status { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "data")]

        public List<Ri_WaybillInfoToWMSResponseDataDto> data { get; set; }

    }

    public class Ri_WaybillInfoToWMSResponseDataDto
    {
        /// <summary>
        /// 描述 : 配载单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "logisticsConfigId")]
        public int logisticsConfigId { get; set; }

        /// <summary>
        /// 描述 : 运单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "transportOrderNo")]
        public string transportOrderNo { get; set; }
        /// <summary>
        /// 描述 : 承运方 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "carrierName")]
        public string carrierName { get; set; }
        /// <summary>
        /// 描述 : 承运方编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "carrierCode")]
        public string carrierCode { get; set; }
        /// <summary>
        /// 描述 : 车牌号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "planeNumber")]
        public string planeNumber { get; set; }
        /// <summary>
        /// 描述 : 司机姓名 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "driverMaName")]
        public string driverMaName { get; set; }
        /// <summary>
        /// 描述 : 司机电话 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "driverMaPhone")]
        public string driverMaPhone { get; set; }
        /// <summary>
        /// 描述 : 创建人
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "createUserNumber")]
        public string createUserNumber { get; set; }

        /// <summary>
        /// 描述 : 物料信息 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "transportTrackGoodsResponses")]

        public List<transportTrackGoodsResponsesDataDto> transportTrackGoodsResponses { get; set; }

        /// <summary>
        /// 描述 : 地址列表 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "transportTrackLoadResponses")]

        public List<transportTrackLoadResponsesDataDto> transportTrackLoadResponses { get; set; }

    }

    public class transportTrackGoodsResponsesDataDto
    {
        /// <summary>
        /// 描述 : 物料名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "goodsName")]
        public string goodsName { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "goodsCode")]
        public string goodsCode { get; set; }
        /// <summary>
        /// 描述 : 数量 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "goodsTotal")]
        public decimal goodsTotal { get; set; }
        /// <summary>
        /// 描述 : OA流程编号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "orderNo")]
        public string orderNo { get; set; }
        /// <summary>
        /// 描述 : 销售订单行号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "subOrderNo")]
        public string subOrderNo { get; set; }
        /// <summary>
        /// 描述 : 销售订单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "saleNo")]
        public string saleNo { get; set; }
        /// <summary>
        /// 描述 : 销售订单行ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "subSaleNo")]
        public string subSaleNo { get; set; }

    }

    public class transportTrackLoadResponsesDataDto
    {
        /// <summary>
        /// 描述 : 地址ID 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "transportOrderLoadId")]
        public string transportOrderLoadId { get; set; }
        /// <summary>
        /// 描述 : 收发地标识 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "loadType")]
        public string loadType { get; set; }

        /// <summary>
        /// 描述 : 顺序 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "loadSeq")]
        public string loadSeq { get; set; }
        /// <summary>
        /// 描述 : 详细地址 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "loadAddress")]
        public string loadAddress { get; set; }
        /// <summary>
        /// 描述 : 收发货公司code 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "deliverCompanyCode")]
        public string deliverCompanyCode { get; set; }
        /// <summary>
        /// 描述 : 收发货公司名 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "deliverCompanyName")]
        public string deliverCompanyName { get; set; }
        /// <summary>
        /// 描述 : 收发货联系人 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "deliverUserName")]
        public string deliverUserName { get; set; }
        /// <summary>
        /// 描述 : 收发联系人电话 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "deliverUserPhone")]
        public string deliverUserPhone { get; set; }

        /// <summary>
        /// 描述 : 需求时间 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "requiredTime")]
        public long requiredTime { get; set; }

    }

    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class WaybillInfoToWMSResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public int code { get; set; }

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }

    }
}
